<template>
  <!-- 库存 -->
  <div class="box">
    <dv-capsule-chart :config="config" style="width: 100%; height: 100%" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      config: {
        data: [
          {
            name: "寿毯",
            value: 150,
          },
           {
            name: "寿衣",
            value: 130,
          },
          {
            name: "花卉",
            value: 433,
          },
          {
            name: "冥币",
            value: 300,
          },
          {
            name: "香",
            value: 380,
          },
         
        ],
        colors: ["#e062ae", "#fb7293", "#e690d1", "#32c5e9", "#96bfff"],
        unit: "数量",
        showValue: true,
      },
    };
  },
};
</script>

<style lang="less" scoped>
.box {
  width: 100%;
  height: 100%;
}
</style>
